package cn.itcast.travel.service;

import cn.itcast.travel.domain.PageBean;
import cn.itcast.travel.domain.Route;

public interface FavoriteService {
    public boolean isFavorite(String rid, int uid);

    void addFavorite(String rid, int uid);



    PageBean<Route> findMyFavorite(int currentPage, int pageSize, int uid);

    PageBean<Route> findFavoriteQuery(int currentPage, String rname, int sprice, int eprice);
}
